﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using BestCode.Creds.Data;
using BestCode.Creds.Dto;

namespace BestCode.Creds.Business
{
    public class ReportReader
    {
        private ISummaryDao dao = DataFactory.Current.GetReportSummaryDao();

        public List<SummaryDto> GetSummary(int entityId = 0)
        {
            return dao.GetSummary(entityId).ToList();
        }

    }
}
